package com.wish.g04.gateway;

import com.yomahub.tlog.core.enhance.bytes.AspectLogEnhance;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * 网关启动程序
 * 
 * @author tianyandong
 */
@EnableDiscoveryClient
@SpringBootApplication(exclude = {DataSourceAutoConfiguration.class })
public class WishGatewayApplication
{
    public static void main(String[] args)
    {
        SpringApplication.run(WishGatewayApplication.class, args);
        System.out.println("(♥◠‿◠)ﾉﾞ  维数网关启动成功   ლ(´ڡ`ლ)ﾞ  \n" +
                    "I8,        8        ,8I 88           88\n"+
                    "`8b       d8b       d8' ''           88\n"+
                    " '8,     ,8'8,     ,8'               88\n"+
                    "  Y8     8P Y8     8P   88 ,adPPYba, 88,dPPYba,\n"+
                    "  `8b   d8' `8b   d8'   88 I8[    '' 88P'    '8a\n"+
                    "   `8a a8'   `8a a8'    88  `'Y8ba,  88       88\n"+
                    "    `8a8'     `8a8'     88 aa    ]8I 88       88\n"+
                    "     `8'       `8'      88 `'YbbdP'' 88       88 ");
    }
    static {
        AspectLogEnhance.enhance();
    }
}
